package library.Configuration;

import org.apache.log4j.*;

/**
 * This exception is thrown whenever a fatal issue arises while reading the 
 * configuration
 *
 * @author JNC
 */
@SuppressWarnings("serial")
public class FatalConfigurationException extends java.lang.Error {
    /**
     * The log4j log
     */
    private static final Logger _logger = Logger.getLogger(FatalConfigurationException.class);
    
    /**
     * Constructor
     * @param myDetailMsg
     * The message explaining the exception
     */
    public FatalConfigurationException(String myDetailMsg) {
        super(myDetailMsg);
        
        _logger.fatal(myDetailMsg);
    }
}
